import {initType} from './couponActionType'

const initArray = [
    {content:[]},
    {content:[]},
    {content:[]}
]

export const couponReducer = function(state=initArray,action)
{
    switch(action.type)
    {
        case initType:
            return action.data
        default:
            return state
    }
}